import com.bookshare.dao.base.BookMapper;
import com.bookshare.dao.entity.BookExample;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * Created by yujia on 16/3/21.
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath*:spring-mybatis.xml"})
public class InitBookcatalogue {
    @Autowired
    BookMapper bookMapper;

    @Test
    public void InitBookcatalogue() {
        BookExample bookExample = new BookExample();
        BookExample.Criteria criteria = bookExample.createCriteria();
//        criteria.
    }
}
